/**
 * Created by John on 2016/5/26.
 */
var express = require('express');
var router = express.Router();

/* GET book page. */
router.get('/', function (req, res, next) {
    res.send("Welcome you! books home page");
});

router.get("/get", function (req, res, next) {
    res.send("Get a the book");
});

router.get("/post", function (req, res, next) {
    res.send("Add a the book");
});

router.get('/put', function (req, res) {
    res.send("Update a the book")
});

module.exports = router;